import ProxyInterface from '../proxy-interface';
import {MessagePageModel} from '@pkpm/pkpm-types';

class MessagePageProxy implements ProxyInterface<MessagePageModel> {
    private messagePage: MessagePageModel = new MessagePageModel();

    constructor(responseData) {
        let data = responseData;
        Object.assign<MessagePageModel, any>(this.messagePage, data);
    }

    getModel(): MessagePageModel {
        return this.messagePage;
    }
}

export {MessagePageProxy};
